package nbcp.db.mongo.repository.sys

import nbcp.db.IdName
import org.bson.types.ObjectId
import org.springframework.data.mongodb.repository.MongoRepository
import nbcp.db.mongo.entity.*;
import nbcp.db.mongo.*
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.data.mongodb.core.MongoTemplate
import org.springframework.data.mongodb.repository.Query

/**
 * Created by udi on 17-3-19.
 */
//interface SysLoginUserRepository : MongoRepository<SysLoginUser, ObjectId> {
////    @query("{ 'name':{'\$regex':?2,'\$options':'i'}, sales': {'\$gte':?1,'\$lte':?2}}")
////    fun abc(name: String, ageFrom: Double, ageTo: Double)
////
////    fun findByLoginName(value:String): SysLoginUser?;
//}
//
